<div id="noticeView" class="sign">
    <h2 class="tab-cont-h2">
     	<a href="javascript:;">企业中心</a> > <a href="javascript:;">公告管理</a> > <span>企业公告</span>
     </h2>
    <div class="search-form none">
        <label class="s-label">发布时间</label>
        <input type="text" class="s-input datepicker" id="release_time1">-
        <input type="text" class="s-input datepicker" id="release_time2">
        <a href="javascript:;" class="search-btn s-btn" id="noticeQqueryBtn">查询</a>
        <a href="javascript:;" class="search-btn none" id="noticeIssue">发布公告</a>
    </div>
    <div class="noticeViewList" id="noticeViewList">
  
    </div>
</div>
<script id="issueTpl" type="text/template">
	<div id="issueTmp">
		<div class="issue-mask" id="issueMask"></div>
		<div class="issue-notice">
			<div class="top">公告查看<a href="javascript:;" class="close" id="noticeClose">X</a></div>
			<div class="mid">
				<div class="group">
					<label  class="slabel">公告标题：</label>
					<input type="text" class="input" id="noticeTitle" value="<%=title%>">
				</div>
				<div class="group">
					<label  class="slabel">公告内容：</label>
					<textarea class="textarea" id="noticeCon"><%=content%></textarea>
				</div>			
			</div>
		</div>
	</div>
</script>
<script id="notice_cont" type="text/template">
    <table class="table table-hover table-responsive">
        <tr class="thead">
            <td class="td1">消息类型</td>
            <td class="td2">发件人</td>
            <td class="td3">标题</td>
            <td class="td4">时间</td>
            <td class="td5">操作</td>
        </tr>
        <tr class="trh7">
            <td colspan="5">&nbsp;</td>
        </tr>
        <%_.each(obj,function(item,i){%>
            <tr class="tbody tbody<%=(i%2 == 0) ? 1: 2%>">
                <td class="td1">
                    <input type="checkbox" class="input-mt2" name="" />
                    <%if(item.notice_type==10){%>
                平台消息
                <%}else if(item.notice_type==20){%>
                    企业消息
                <%}else if(item.notice_type==30){%>
                    物流消息
               <%}%>
                    </td>
                <td class=""><%=item.operator%></td>
                <td class="td3"><%=item.title%></td>
                <td class=""><%=item.release_time.replace('T',' ').replace('Z','')%></td>
                <td class="td4"><a href="javascript:;" class="jLook" data-id="<%=item.notice_id%>">查看</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
            </tr>
            <%})%>
    </table>
    <div class="select-all none">
        <label>
            <input type="checkbox" class="input-all" name="">全选</label><a href="" class="delete-all">批量删除</a>
    </div>
    
</script>
<script type="text/javascript" src="bootstrap-datetimepicker.js" charset="UTF-8"></script>
<script type="text/javascript" src="bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>
<script type="text/javascript" src="notice.js"></script>
